<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script src="/Bootstrap/REM/flexible/index.js"></script>
    <title>苏宁移动端模拟练习</title>
    <style>
        body{
            min-width: 320px;
            max-width: 750px;
            /* flexible 给我们划分了10等份 */
            width: auto;
            margin: 0 auto;
            line-height: 1.5;
            font-family: Arial, Helvetica, sans-serif;
            background: #f2f2f2;
            overflow: hidden;
        }
        /* 如果我们的屏幕超过了 750px ， 那么我们就按照750px设计稿来走，不会让我们页面超过750px*/
        @media screen and (min-width:750px){
            html{
                font-size: 75px !important;
            }
        }

        .search_content{
            position: fixed;
            display: flex;
            top: 0px;
            left: 50%;
            transform:translateX(-50%);
            width: 10rem ;
            height: 1.173333rem;
            background-color: #FFC001;
        }
        .search_content a.classify,.login{
            color: #fff;
            font-size: .333333rem;
            text-decoration: none;
        }
        .classify{
           width: 1rem;
           height: .933333rem;

           margin: .133333rem;
           display: flex;
           justify-content: center;
           align-items: center;
            
        }
        .search{
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;

        }
        .search input{
            outline: none;
            width: 100%;
            height: .88rem;
            line-height: .88rem;
            border-radius: .8rem;
            font-size: .333333rem;
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            color: #999;
            border: none;
            background-color: #FFF2CC;
        }
        .login{
            width: 1rem;
            height: .933333rem;
            margin: .12rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    </style>
</head>
<body>
    <div class="search_content">
        <a href="#" class="classify">分类</a>
        <div class="search">
            <input type="search" value="rem适配宽度方案真香啊">
        </div>
        <a href="#" class="login">登陆</a>
    </div>
</body>
</html>